<?php
declare (strict_types = 1);

namespace app\Common\controller;

use app\common\controller\BaseController;
use think\App;
use think\cache\driver\Redis;

/**
 * 公共控制器
 * Class CommonController
 * @package app\Common\controller
 */
class CommonBaseController extends BaseController
{
    public $redis = '';

    public function __construct(App $app)
    {
        parent::__construct($app);
        if(!$this->redis){
//            $this->redis = new Redis();
        }
    }

    public function index()
    {
        return 'Common controller';
    }
}
